[INFO] cloning repository https://github.com/PisitShogun/server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PisitShogun/server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPisitShogun%2Fserver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPisitShogun%2Fserver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c1224b614ef44a1ac4dbbcf7f13ee9aa4d73754
[INFO] fixing PisitShogun/server against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPisitShogun%2Fserver" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/PisitShogun/server
[INFO] finished tweaking git repo https://github.com/PisitShogun/server
[INFO] tweaked toml for git repo https://github.com/PisitShogun/server written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/PisitShogun/server on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/PisitShogun/server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded compression-codecs v0.4.32
[INFO] [stderr]   Downloaded compression-core v0.4.30
[INFO] [stderr]   Downloaded async-compression v0.4.33
[INFO] [stderr]   Downloaded diesel_table_macro_syntax v0.3.0
[INFO] [stderr]   Downloaded dsl_auto_type v0.2.0
[INFO] [stderr]   Downloaded jsonwebtoken v10.2.0
[INFO] [stderr]   Downloaded pq-sys v0.7.5
[INFO] [stderr]   Downloaded axum-extra v0.12.2
[INFO] [stderr]   Downloaded aws-lc-rs v1.15.0
[INFO] [stderr]   Downloaded diesel_derives v2.3.4
[INFO] [stderr]   Downloaded axum v0.8.7
[INFO] [stderr]   Downloaded diesel v2.3.3
[INFO] [stderr]   Downloaded aws-lc-sys v0.33.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2f56e231d6945b1481138f4eda7a9a13f7d7b46ab73da314bb2a3a90610ba976
[INFO] running `Command { std: "docker" "start" "2f56e231d6945b1481138f4eda7a9a13f7d7b46ab73da314bb2a3a90610ba976", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2f56e231d6945b1481138f4eda7a9a13f7d7b46ab73da314bb2a3a90610ba976" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f56e231d6945b1481138f4eda7a9a13f7d7b46ab73da314bb2a3a90610ba976", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2f56e231d6945b1481138f4eda7a9a13f7d7b46ab73da314bb2a3a90610ba976" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling pq-sys v0.7.5
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling aws-lc-rs v1.15.0
[INFO] [stderr]     Checking compression-core v0.4.30
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling diesel_derives v2.3.4
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking downcast-rs v2.0.2
[INFO] [stderr]     Checking iri-string v0.7.9
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling aws-lc-sys v0.33.0
[INFO] [stderr]     Checking cookie v0.18.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.3.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking compression-codecs v0.4.32
[INFO] [stderr]     Checking axum v0.8.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking async-compression v0.4.33
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking axum-extra v0.12.2
[INFO] [stderr]     Checking diesel v2.3.3
[INFO] [stderr]     Checking jsonwebtoken v10.2.0
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:77:27
[INFO] [stdout]    |
[INFO] [stdout] 77 |    pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                           ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/application/use_cases/brawlers.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::repositories::brawlers_repository::BrawlersRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/application/use_cases/brawlers.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::domain::repositories::brawlers::BrawlerRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/infrastructure/database/repositories/brawlers.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::repositories::brawlers::BrawlerRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::schema`
[INFO] [stdout]  --> src/domain/entities/missions.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::schema::missions;
[INFO] [stdout]   |            ^^^^^^ unresolved import
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::infrastructure::database::schema::missions;
[INFO] [stdout]   |            ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repository` in `domain`
[INFO] [stdout]   --> src/infrastructure/database/repositories/crew_participation.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::domain::repository::crew_participation::CrewParticipationRepository;
[INFO] [stdout]    |                    ^^^^^^^^^^ could not find `repository` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_management.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::repositories::mission_management::MissionManagementRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::domain::entities::CrewMembership`
[INFO] [stdout]   --> src/infrastructure/database/repositories/crew_participation.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::domain::entities::CrewMembership;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^--------------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              no `CrewMembership` in `domain::entities`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::domain::repositories::mission_operation::MissionOperationRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::domain::value_objects::mission_statuses`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_management.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::domain::value_objects::mission_statuses::MissionStatuses;
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^ could not find `mission_statuses` in `value_objects`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::repositories::mission_viewing::MissionViewingRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::domain::value_objects::mission_statuses`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::value_objects::mission_statuses::MissionStatuses;
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^ could not find `mission_statuses` in `value_objects`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::domain::value_objects::mission_filter`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::domain::value_objects::mission_filter::MissionFilter;
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^ could not find `mission_filter` in `value_objects`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:77:27
[INFO] [stdout]    |
[INFO] [stdout] 77 |    pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                           ^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/application/use_cases/brawlers.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::repositories::brawlers_repository::BrawlersRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/application/use_cases/brawlers.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::domain::repositories::brawlers::BrawlerRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/infrastructure/database/repositories/brawlers.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::repositories::brawlers::BrawlerRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::schema`
[INFO] [stdout]  --> src/domain/entities/missions.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::schema::missions;
[INFO] [stdout]   |            ^^^^^^ unresolved import
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::infrastructure::database::schema::missions;
[INFO] [stdout]   |            ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repository` in `domain`
[INFO] [stdout]   --> src/infrastructure/database/repositories/crew_participation.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::domain::repository::crew_participation::CrewParticipationRepository;
[INFO] [stdout]    |                    ^^^^^^^^^^ could not find `repository` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_management.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::repositories::mission_management::MissionManagementRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::domain::entities::CrewMembership`
[INFO] [stdout]   --> src/infrastructure/database/repositories/crew_participation.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::domain::entities::CrewMembership;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^--------------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              no `CrewMembership` in `domain::entities`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::domain::repositories::mission_operation::MissionOperationRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::domain::value_objects::mission_statuses`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_management.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::domain::value_objects::mission_statuses::MissionStatuses;
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^ could not find `mission_statuses` in `value_objects`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `repositories` in `domain`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::repositories::mission_viewing::MissionViewingRepository;
[INFO] [stdout]   |                    ^^^^^^^^^^^^ could not find `repositories` in `domain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::domain::value_objects::mission_statuses`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_operation.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::value_objects::mission_statuses::MissionStatuses;
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^ could not find `mission_statuses` in `value_objects`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::domain::value_objects::mission_filter`
[INFO] [stdout]  --> src/infrastructure/database/repositories/mission_viewing.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::domain::value_objects::mission_filter::MissionFilter;
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^ could not find `mission_filter` in `value_objects`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]   --> src/domain/entities/missions.rs:19:47
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_model(&self, crew_count:i64) -> MissionModel {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MissionModel` in this scope
[INFO] [stdout]   --> src/domain/entities/missions.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         MissionModel {
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RegisterBrawlerModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/brawlers.rs:23:62
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub async fn register(&self, mut register_brawler_model: RegisterBrawlerModel) -> Result<i32> {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CrewOperationUseCase` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | impl<T1, T2> CrewOperationUseCase<T1, T2>
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `CrewOperationRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T1: CrewOperationRepository + Send + Sync + 'static,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |         crew_operation_repository: Arc<T1>,
[INFO] [stdout]   |                                    ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:9:37
[INFO] [stdout]   |
[INFO] [stdout] 9 |         mission_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                     ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `crew_count` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:37:36
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let crew_count_condition = crew_count < MAX_CREW_PER_MISSION;
[INFO] [stdout]    |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_CREW_PER_MISSION` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:37:49
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let crew_count_condition = crew_count < MAX_CREW_PER_MISSION;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CrewMemberShips` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 |             .join(CrewMemberShips {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::crew_member::CrewMemberShips;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_management.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T1: MissionManagementRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_management.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_management.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 |     mission_management_repository: Arc<T1>,
[INFO] [stdout]   |                                    ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_management.rs:7:33
[INFO] [stdout]   |
[INFO] [stdout] 7 |     mission_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     T1: MissionManagementRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:16:40
[INFO] [stdout]    |
[INFO] [stdout] 16 |         mission_management_repository: Arc<T1>,
[INFO] [stdout]    |                                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 |         mission_viewing_repository: Arc<T2>,
[INFO] [stdout]    |                                     ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AddMissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:24:63
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EditMissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:35:80
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub async fn edit(&self, mission_id: i32,chief_id: i32,edit_mission_model: EditMissionModel) 
[INFO] [stdout]    |                                                                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T1: MissionOperationRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     mission_operation_repository: Arc<T1>,
[INFO] [stdout]   |                                   ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:7:33
[INFO] [stdout]   |
[INFO] [stdout] 7 |     missiom_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     T1: MissionOperationRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | mission_operation_repository: Arc<T1>, 
[INFO] [stdout]    |                               ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 | missiom_viewing_repository: Arc<T2>
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_CREW_PER_MISSION` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 |             && crew_count < MAX_CREW_PER_MISSION
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 |     mission_viewing_repository: Arc<T>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     T: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]    |                                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:18:64
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub async fn view_detail(&self, mission_id: i32) -> Result<MissionModel> {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<T, MissionModel> MissionViewingUseCase<T>
[INFO] [stdout]    |       ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionFilter` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub async fn get_all(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:34:71
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub async fn get_all(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<T, MissionModel> MissionViewingUseCase<T>
[INFO] [stdout]    |       ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `serve` in crate `axum`
[INFO] [stdout]   --> src/infrastructure/http/http_sever.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     axum::serve(listener, app)
[INFO] [stdout]    |           ^^^^^ not found in `axum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Claims` in module `jwt_model`
[INFO] [stdout]   --> src/infrastructure/jwt/mod.rs:18:73
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn verify_token(secret: String, token: String) -> Result<jwt_model::Claims> {
[INFO] [stdout]    |                                                                         ^^^^^^ not found in `jwt_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Claims` in module `jwt_model`
[INFO] [stdout]   --> src/infrastructure/jwt/mod.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let token = decode::<jwt_model::Claims>(
[INFO] [stdout]    |                                     ^^^^^^ not found in `jwt_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::routers::default_router`
[INFO] [stdout]   --> src/infrastructure/http/http_sever.rs:23:68
[INFO] [stdout]    |
[INFO] [stdout] 23 |     infrastructure::{database::postgresql_connection::PgPoolSquad, http::routers::default_router},
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/infrastructure/jwt/authentication_medel.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde:: {Deserialize, Serialize};
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]   --> src/domain/entities/missions.rs:19:47
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_model(&self, crew_count:i64) -> MissionModel {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MissionModel` in this scope
[INFO] [stdout]   --> src/domain/entities/missions.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         MissionModel {
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RegisterBrawlerModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/brawlers.rs:23:62
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub async fn register(&self, mut register_brawler_model: RegisterBrawlerModel) -> Result<i32> {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CrewOperationUseCase` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | impl<T1, T2> CrewOperationUseCase<T1, T2>
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `CrewOperationRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T1: CrewOperationRepository + Send + Sync + 'static,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |         crew_operation_repository: Arc<T1>,
[INFO] [stdout]   |                                    ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/crew_operation.rs:9:37
[INFO] [stdout]   |
[INFO] [stdout] 9 |         mission_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                     ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `crew_count` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:37:36
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let crew_count_condition = crew_count < MAX_CREW_PER_MISSION;
[INFO] [stdout]    |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_CREW_PER_MISSION` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:37:49
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let crew_count_condition = crew_count < MAX_CREW_PER_MISSION;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CrewMemberShips` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 |             .join(CrewMemberShips {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::domain::entities::crew_member::CrewMemberShips;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_management.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T1: MissionManagementRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_management.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_management.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 |     mission_management_repository: Arc<T1>,
[INFO] [stdout]   |                                    ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_management.rs:7:33
[INFO] [stdout]   |
[INFO] [stdout] 7 |     mission_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionManagementRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     T1: MissionManagementRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:16:40
[INFO] [stdout]    |
[INFO] [stdout] 16 |         mission_management_repository: Arc<T1>,
[INFO] [stdout]    |                                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 |         mission_viewing_repository: Arc<T2>,
[INFO] [stdout]    |                                     ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AddMissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:24:63
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub async fn add(&self, chief_id: i32, add_mission_model: AddMissionModel) -> Result<i32> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EditMissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_management.rs:35:80
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub async fn edit(&self, mission_id: i32,chief_id: i32,edit_mission_model: EditMissionModel) 
[INFO] [stdout]    |                                                                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T1: MissionOperationRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:77:69
[INFO] [stdout]    |
[INFO] [stdout] 77 |    pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                     ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                     |
[INFO] [stdout]    |                                                                     expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 77 |    pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     mission_operation_repository: Arc<T1>,
[INFO] [stdout]   |                                   ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_operation.rs:7:33
[INFO] [stdout]   |
[INFO] [stdout] 7 |     missiom_viewing_repository: Arc<T2>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionOperationRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     T1: MissionOperationRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     T2: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | mission_operation_repository: Arc<T1>, 
[INFO] [stdout]    |                               ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 | missiom_viewing_repository: Arc<T2>
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_CREW_PER_MISSION` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 |             && crew_count < MAX_CREW_PER_MISSION
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T: MissionViewingRepository + Send + Sync,
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/application/use_cases/mission_viewing.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 |     mission_viewing_repository: Arc<T>,
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `MissionViewingRepository` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     T: MissionViewingRepository + Send + Sync,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(mission_viewing_repository: Arc<T>) -> Self {
[INFO] [stdout]    |                                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:18:64
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub async fn view_detail(&self, mission_id: i32) -> Result<MissionModel> {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<T, MissionModel> MissionViewingUseCase<T>
[INFO] [stdout]    |       ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionFilter` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub async fn get_all(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MissionModel` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_viewing.rs:34:71
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub async fn get_all(&self, filter: &MissionFilter) -> Result<Vec<MissionModel>> {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<T, MissionModel> MissionViewingUseCase<T>
[INFO] [stdout]    |       ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `serve` in crate `axum`
[INFO] [stdout]   --> src/infrastructure/http/http_sever.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     axum::serve(listener, app)
[INFO] [stdout]    |           ^^^^^ not found in `axum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Claims` in module `jwt_model`
[INFO] [stdout]   --> src/infrastructure/jwt/mod.rs:18:73
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn verify_token(secret: String, token: String) -> Result<jwt_model::Claims> {
[INFO] [stdout]    |                                                                         ^^^^^^ not found in `jwt_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Claims` in module `jwt_model`
[INFO] [stdout]   --> src/infrastructure/jwt/mod.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let token = decode::<jwt_model::Claims>(
[INFO] [stdout]    |                                     ^^^^^^ not found in `jwt_model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::routers::default_router`
[INFO] [stdout]   --> src/infrastructure/http/http_sever.rs:23:68
[INFO] [stdout]    |
[INFO] [stdout] 23 |     infrastructure::{database::postgresql_connection::PgPoolSquad, http::routers::default_router},
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/infrastructure/jwt/authentication_medel.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde:: {Deserialize, Serialize};
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:77:69
[INFO] [stdout]    |
[INFO] [stdout] 77 |    pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32> {
[INFO] [stdout]    |                                                                     ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                                                     |
[INFO] [stdout]    |                                                                     expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 77 |    pub async fn to_failed(&self, mission_id: i32, chief_id: i32) -> Result<i32, E> {
[INFO] [stdout]    |                                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/infrastructure/argon2/mod.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn hash(password: String) -> Result<String> {
[INFO] [stdout]   |                                  ^^^^^^ ------ supplied 1 generic argument
[INFO] [stdout]   |                                  |
[INFO] [stdout]   |                                  expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn hash(password: String) -> Result<String, E> {
[INFO] [stdout]   |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/infrastructure/argon2/mod.rs:19:61
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn verify(password: String, hashed_password: String) -> Result<bool> {
[INFO] [stdout]    |                                                             ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                             |
[INFO] [stdout]    |                                                             expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn verify(password: String, hashed_password: String) -> Result<bool, E> {
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:28:58
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mission_status_condition = mission.status == MissionStatuses::Open.to_string()
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:29:34
[INFO] [stdout]    |
[INFO] [stdout] 29 |             || mission.status == MissionStatuses::Failed.to_string();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:36:52
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let is_status_open_or_fail = mission.status == MissionStatuses::Open.to_string()
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 37 |             || mission.status == MissionStatuses::Failed.to_string();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:60:46
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let update_condition = mission.status == MissionStatuses::InProgress.to_string()
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:83:46
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let update_condition = mission.status == MissionStatuses::InProgress.to_string()
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `authentication_model` in this scope
[INFO] [stdout]  --> src/infrastructure/jwt/mod.rs:7:48
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn generate_token(secret: String, claims: &authentication_model::AuthenticationModel) -> Result<String> {
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `authentication_model`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 7 - pub fn generate_token(secret: String, claims: &authentication_model::AuthenticationModel) -> Result<String> {
[INFO] [stdout] 7 + pub fn generate_token(secret: String, claims: &authentication_medel::AuthenticationModel) -> Result<String> {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `server` (lib) due to 63 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/infrastructure/argon2/mod.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn hash(password: String) -> Result<String> {
[INFO] [stdout]   |                                  ^^^^^^ ------ supplied 1 generic argument
[INFO] [stdout]   |                                  |
[INFO] [stdout]   |                                  expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn hash(password: String) -> Result<String, E> {
[INFO] [stdout]   |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/infrastructure/argon2/mod.rs:19:61
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn verify(password: String, hashed_password: String) -> Result<bool> {
[INFO] [stdout]    |                                                             ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]    |                                                             |
[INFO] [stdout]    |                                                             expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn verify(password: String, hashed_password: String) -> Result<bool, E> {
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:28:58
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mission_status_condition = mission.status == MissionStatuses::Open.to_string()
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/crew_operation.rs:29:34
[INFO] [stdout]    |
[INFO] [stdout] 29 |             || mission.status == MissionStatuses::Failed.to_string();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:36:52
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let is_status_open_or_fail = mission.status == MissionStatuses::Open.to_string()
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 37 |             || mission.status == MissionStatuses::Failed.to_string();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:60:46
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let update_condition = mission.status == MissionStatuses::InProgress.to_string()
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MissionStatuses` in this scope
[INFO] [stdout]   --> src/application/use_cases/mission_operation.rs:83:46
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let update_condition = mission.status == MissionStatuses::InProgress.to_string()
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^ use of undeclared type `MissionStatuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `authentication_model` in this scope
[INFO] [stdout]  --> src/infrastructure/jwt/mod.rs:7:48
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn generate_token(secret: String, claims: &authentication_model::AuthenticationModel) -> Result<String> {
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `authentication_model`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 7 - pub fn generate_token(secret: String, claims: &authentication_model::AuthenticationModel) -> Result<String> {
[INFO] [stdout] 7 + pub fn generate_token(secret: String, claims: &authentication_medel::AuthenticationModel) -> Result<String> {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `server` (lib test) due to 63 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2f56e231d6945b1481138f4eda7a9a13f7d7b46ab73da314bb2a3a90610ba976", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f56e231d6945b1481138f4eda7a9a13f7d7b46ab73da314bb2a3a90610ba976", kill_on_drop: false }`
[INFO] [stdout] 2f56e231d6945b1481138f4eda7a9a13f7d7b46ab73da314bb2a3a90610ba976
